CreditCard

public final static CreditCard CreditCard(CardNumber number, YearMonth expirationDate, String holder)
public final static CreditCard CreditCard(CardNumber number, YearMonth expirationDate, String holder)

Creates a new instance of CreditCard with the given parameters.

Since

8.0.0

Parameters

number

The card number.

expirationDate

The expiration date.

holder

The name of the cardholder.